Hi Ann,
there are exactly the same methods available in JavaScript, so it should be possible to rewrite it quite simply.
Or are there any specific reasons why it is not the option? CD vs. MIME format differences?
Update:
I see, you are probably searching for this one:
Notes Designer Help:
This button sets the value of a rich text control (bound to
requestScope.body) with the value of a rich text item
(
body) in the current document.
var doc:NotesDocument = currentDocument.getDocument();
if (doc.hasItem("body")) {
var entity:NotesMIMEEntity = doc.getMIMEEntity("body");
if (entity != null) {
requestScope.body = entity.getContentAsText();
}
}
HTH